package com.chenfan.mcn.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chenfan.mcn.model.base.BaseSaveEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 特殊红人归档编码规则
 * </p>
 *
 * @author wulg
 * @since 2021-12-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("star_archiving_code_rule")
public class StarArchivingCodeRule extends BaseSaveEntity {

    private static final long serialVersionUID = -8205883942555440245L;

    /**
     * 红人ID
     */
    @TableField("star_id")
    private Long starId;

    /**
     * 编码前缀
     */
    @TableField("code_prefix")
    private String codePrefix;

}
